﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.HomeServer.Controls;
using RouterControl.Whs;
using RouterControl.Whs.Wizards;

namespace RouterControl.WhsAddIn.Wizards.EditPortForwarding
{
    internal class WizardMain : Wizard
    {
        public CommonInternetGateway.PortForwarding? Forwarding
        {
            get;
            set;
        }

        public CommonInternetGateway.PortForwarding? OriginalForwarding
        {
            get;
            internal set;
        }

        public bool NewForwardingMode
        {
            get;
            set;
        }

        public WizardMain()
        {
            this.Text = Properties.Resources.txtWizPortForwardingTitle;
            this.Width = CommonSettings.BigWizardStdWidth;
            this.Height = CommonSettings.BigWizardStdHeight;
            this.WizardIcon = Properties.Resources.icoLogo;

            Init();

            SetTypes(new [] {
                                typeof(WizardPageHost<EditPortForwardingWelcome>),
                                typeof(WizardPageHost<EditPortForwardingPortAndProtocol>),
                                typeof(WizardPageHost<EditPortForwardingClient>),
                                typeof(WizardPageHost<EditPortForwardingFinal>)
                            });
        }

    }
}